
public class TesteComForEach {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int array[] = {1,2,3,4};
		
		//com a nova sintaxe enhaced for
		
		for (int i:array){
			System.out.println(i);
		}
		
	}

}
